#pragma once
#include "afxwin.h"


// CDlgContextEdit dialog

class CDlgContextEdit : public CDialogEx
{
	DECLARE_DYNAMIC(CDlgContextEdit)

public:
	CDlgContextEdit(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgContextEdit();

// Dialog Data
	enum { IDD = IDD_DIALOG_CONTEXTLIST };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CComboBox m_combCtxlist;
	afx_msg void OnCbnSelchangeComboCtxlist();
	virtual BOOL OnInitDialog();
	void LoadComboCtx();
	afx_msg void OnBnClickedOk();

	GuidList m_ctxlist; 

	afx_msg void OnBnClickedButtonAdd();
	afx_msg void OnBnClickedButtonDel();
	afx_msg void OnBnClickedButtonEd();

protected:
	GtdContext* getCurSel()const;
};
